<?php

return [
    // HTTP 请求的超时时间（秒）
    'timeout' => 5.0,

    // 默认发送配置
    'default' => [
        // 网关调用策略，默认：顺序调用
        'strategy' => addons\easysms\library\Strategies\OrderStrategy::class,
        // 默认可用的发送网关
        'gateways' => [
            'aliyun'
        ],
    ],
    // 可用的网关配置
    'gateways' => [
        'errorlog' => [
            'file' => app()->getRuntimePath().'/easysms/'.date('Ymd').'.log',
        ],
        'yunpian' => [
            'api_key' => '824f0ff2f71cab52936axxxxxxxxxx',
        ],
        'aliyun' => [
            'access_key_id' => 'LTAI5t6ZBzDjLwGEyzArFuQw',
            'access_key_secret' => 're18GysI13eqe2rvhZLnoSAd8ef7GG',
            'sign_name' => '十月丰秋',
        ],
        'smscn' => [
            'user' => 'tzlweb',
            'secretkey' => '',
            'pwd' => '',
            'sign_name' => '职仟',
        ],
        //...
    ],
];
